home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / haeberli / impression / README < prev    next >
Text File  |  1994-08-01  |  2KB  |  140 lines

  1.  
  2.                                  impression
  3.  
  4.  
  5.                 this directory contains interactive tools for 
  6.          creating painted representations of scanned-in photographs.
  7.  
  8.  
  9.  
  10.  
  11.         the interactive paint prog is called impression.
  12.  
  13.         the other tools can be used to manipulate paintings stored as 
  14.         a list of brush strokes.  these brush stroke files are called 
  15.         "sample sets" and usually have a suffix of ".ss".
  16.  
  17.     `
  18.  
  19.  
  20. The main paint program is:
  21.  
  22.     impression it.rgb [-o it.ss] [-d dir.bw]
  23.  
  24. To give it a try type:
  25.  
  26. make demo
  27.  
  28.  
  29.  
  30.  
  31. The program "ssshow" can be used to display a sample set
  32.  
  33.     ssshow it.ss
  34.  
  35.  
  36.  
  37.  
  38. The program "ssrender" can render a sample set at any resolution
  39.  
  40.     ssrender it.ss rend.rgb 300 200
  41.  
  42.  
  43.  
  44.  
  45. "ssrand" can be used to add noiseto brush stroke directions, positions, etc.
  46.  
  47.     ssrand in.ss rand.ss mag -c -d -p -s  
  48.  
  49.     -c: color
  50.     -d: direction
  51.     -p: position
  52.     -s: size
  53.  
  54.  
  55.  
  56.  
  57. "ssblend" linearly interpolates two paintings --   
  58. both paintings shud have about the same number of strokes
  59.  
  60.     ssblend in1.ss in2.ss out.ss param
  61.  
  62.  
  63.  
  64.  
  65. "sscross" cross disolves between two sample sets 
  66.  
  67.     sscross in1.ss in2.ss out.ss param
  68.  
  69.  
  70. "sscat" concatnates several painings
  71.  
  72.     sscat in1.ss in2.ss ... out.ss
  73.  
  74.  
  75.  
  76.  
  77. "ssclip" clips brush stroke locations to a circle 
  78.  
  79.     ssclip in.ss out.ss
  80.  
  81.  
  82.  
  83.  
  84. "ssgen" creates a rectangular array of brush strokes
  85.  
  86.     ssgen out.ss nx ny
  87.  
  88.  
  89.  
  90.  
  91. "ssprint" makes a textual description of a painting
  92.  
  93.     ssprint in.ss
  94.  
  95. "sssample" samples an image to control brush stroke colors, directions or sizes
  96.  
  97.     sssample in.ss out.ss in.rgb [-d] [-s]
  98.  
  99.  
  100. "ssdensity" uses a b/w image to generate a set of sample positions with 
  101.     varying density
  102.  
  103.  
  104. "ssdomain" displays a sample set on the screen as a set of Dirichlet domains.
  105.  
  106.  
  107. "sstops" converts a sample set to PostScript for printing.
  108.  
  109.  
  110. you can scale the color, direction, poisition or size of strokes using 
  111. "ssscale" 
  112.  
  113.     ssscale in.ss out.ss scale
  114.  
  115.  
  116. you can set the brush direction, size and shape for a whole sample set
  117. using "ssset"
  118.  
  119.     ssset in.ss out.ss val [-d -s -b]
  120.  
  121.  
  122.  
  123.  
  124. you can sort brush strokes by color, direction, position and size
  125. using "sssort"
  126.  
  127.     sssort in.ss out.ss [-c -d -p -s]
  128.  
  129.  
  130.  
  131.  
  132. OTHER PROGRAMS:
  133.  
  134.  
  135. I suggest making "blurpix" ~40, but try small numbers also like 4.
  136.  
  137.     ../imgtools/graddir in.rgb dir.bw blurpix
  138.  
  139.  
  140.